from coffeetalk.protocol.iotypes import defaulttype

class Integer(defaulttype.DefaultType):
    
    _type = '[Integer]'
    value = 0
    def __init__(self,name=None,value=None):
        defaulttype.DefaultType.__init__(self,name=name)
        self.value = int(value)
        
if __name__ == '__main__':
    
    i = Integer(name='Mike',value=1)
    
    print i